function p1 () {
	return new Promise(function(resolve, reject){
		setTimeout(function () {
	      	resolve('hello')
	    }, 10)
	})
} 

function p2 () {
	return new Promise(function(resolve, reject){
		setTimeout(function () {
	      	resolve('lagou')
	    }, 10)
	})
}

function p3 () {
	return new Promise(function(resolve, reject){
		setTimeout(function () {
	      	resolve('I ❤ U')
	    }, 10)
	})
}

Promise.all([p1(), p2(), p3()])
	.then(function(result){
		let val = ''
		for (let i=0; i<result.length; i++){
			val += result[i] +' '
		}
		console.log(val)
	}, reason => { console.log(reason) })